package com.qczl.pme.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 直播
 * @作者:SongR
 * @日期:2017年9月21日上午10:43:15
 */
@Entity
@Table(name="pme_basis_live")
public class PMELive {
	
	private Long id;//编号
	
	private String name;//直播名称
	
	private Date starttime;//开始时间
	
	private Date endtime;//结束时间
	
	private Long videoId;//录制的video编号
	
	private String coverImg;//封面图
	
	private int status;//状态 (-1、已删除  0、已结束 1、直播中)
	
	private Long topicid;//主题
	
	private String stbno;
	
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "live_id")
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getStarttime() {
		return starttime;
	}

	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	public Date getEndtime() {
		return endtime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	public Long getVideoId() {
		return videoId;
	}

	public void setVideoId(Long videoId) {
		this.videoId = videoId;
	}

	public String getCoverImg() {
		return coverImg;
	}

	public void setCoverImg(String coverImg) {
		this.coverImg = coverImg;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Long getTopicid() {
		return topicid;
	}

	public void setTopicid(Long topicid) {
		this.topicid = topicid;
	}

	public String getStbno() {
		return stbno;
	}

	public void setStbno(String stbno) {
		this.stbno = stbno;
	}
	
	
}
